package org.edu.modules.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.edu.modules.base.entity.VeBaseAppGroup;

@Mapper
public abstract interface VeBaseAppGroupMapper extends BaseMapper<VeBaseAppGroup> {
    public abstract int getAppGroupAllList(String roleName);

    public abstract List<VeBaseAppGroup> getAppGroupPageList(String roleName, Integer startIndex, Integer pageSize);

    public abstract List<Map<String, Object>> getAppManageList(String paramString);

    public abstract VeBaseAppGroup getAppGroupByName(String id, String roleName);

    public abstract int addAppGroupManageBatch(String groupId, String[] appId);

    public abstract int deleteAppGroupManageById(String groupId);
}
